package com.youxin.busfoundation.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import com.youxin.busfoundation.bean.MonitorAlarmBean;

/**
 * nginx访问监控配置信息
 * @author yingde.cao
 *
 */
@Configuration
@PropertySource("classpath:${spring.profiles.active}/monitor.properties")
@ConfigurationProperties(prefix="monitor.nginx")
public class MonitorNginxVisitConfig extends MonitorBaseBean{
	private MonitorAlarmBean ip;

	public MonitorAlarmBean getIp() {
		return ip;
	}

	public void setIp(MonitorAlarmBean ip) {
		this.ip = ip;
	}
}
